import { defineStore } from "pinia";
export const useBlogStore = defineStore('blog', { // 公用的
    // state: ()=>({name: 'alice',count: 0}),
    state: () => {
        return {
            blogContent: [
                {
                    title: '第一篇博客',
                    content: '这是用户admin的第一篇博客',
                    createTime: '2025-04-17', // 简介
                    author: "admin",

                }
            ]
        }
    },
    getters: {

    },
    actions: {

    }
})
